#ifndef INFOSAVE_H
#define INFOSAVE_H

#include <QWidget>
#include <QFileDialog>
#include <QSqlQuery>
#include <QSqlQueryModel>

namespace Ui {
class infoSave;
}

class infoSave : public QWidget
{
    Q_OBJECT

public:
    explicit infoSave(QWidget *parent = 0);
    ~infoSave();

private slots:
    void on_btn_Save_clicked();

private :
    void qTable(void);
    void setTableSty(void);

private:
    Ui::infoSave *ui;
    QString tableName = "qTableInfo";//添加表格名称
    QSqlQueryModel model;//保存和遍历select结果
};

#endif // INFOSAVE_H
